STEP 18: Last but not least, let's move the black rectangle off the screen.

  • In , drag Move Up to the bottom of and inside main().
  • Change the variable from sprite to blocker.
  • Finally, change the number inside the ( ) from 50 to 500.
  • Great job! We've finished our program. Press Run and try entering a correct and incorrect password.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)